package com.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dede
 * @since 2020-05-23
 */
public class PsLineInfo extends Model<PsLineInfo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("LINECODE")
    private String linecode;

    @TableField("LINENAME")
    private String linename;

    @TableField("LINELENGTH")
    private Double linelength;

    @TableField("BACKLENGTH")
    private Double backlength;

    @TableField("PRODUCTDATE")
    private LocalDate productdate;

    @TableField("VOLTAGELEVEL")
    private String voltagelevel;

    @TableField("STARTPOLE")
    private Long startpole;

    @TableField("ENDPOLE")
    private Long endpole;

    @TableField("TOWERBASENUM")
    private Long towerbasenum;

    @TableField("MAINTENANCECOMPANY")
    private String maintenancecompany;

    @TableField("runningId")
    private Long runningId;

    @TableField("COMMON")
    private String common;

    @TableField("ISSTART")
    private Integer isstart;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLinecode() {
        return linecode;
    }

    public void setLinecode(String linecode) {
        this.linecode = linecode;
    }

    public String getLinename() {
        return linename;
    }

    public void setLinename(String linename) {
        this.linename = linename;
    }

    public Double getLinelength() {
        return linelength;
    }

    public void setLinelength(Double linelength) {
        this.linelength = linelength;
    }

    public Double getBacklength() {
        return backlength;
    }

    public void setBacklength(Double backlength) {
        this.backlength = backlength;
    }

    public LocalDate getProductdate() {
        return productdate;
    }

    public void setProductdate(LocalDate productdate) {
        this.productdate = productdate;
    }

    public String getVoltagelevel() {
        return voltagelevel;
    }

    public void setVoltagelevel(String voltagelevel) {
        this.voltagelevel = voltagelevel;
    }

    public Long getStartpole() {
        return startpole;
    }

    public void setStartpole(Long startpole) {
        this.startpole = startpole;
    }

    public Long getEndpole() {
        return endpole;
    }

    public void setEndpole(Long endpole) {
        this.endpole = endpole;
    }

    public Long getTowerbasenum() {
        return towerbasenum;
    }

    public void setTowerbasenum(Long towerbasenum) {
        this.towerbasenum = towerbasenum;
    }

    public String getMaintenancecompany() {
        return maintenancecompany;
    }

    public void setMaintenancecompany(String maintenancecompany) {
        this.maintenancecompany = maintenancecompany;
    }

    public Long getRunningId() {
        return runningId;
    }

    public void setRunningId(Long runningId) {
        this.runningId = runningId;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public Integer getIsstart() {
        return isstart;
    }

    public void setIsstart(Integer isstart) {
        this.isstart = isstart;
    }

    public LocalDateTime getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(LocalDateTime creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public LocalDateTime getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(LocalDateTime lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsLineInfo{" +
        "id=" + id +
        ", linecode=" + linecode +
        ", linename=" + linename +
        ", linelength=" + linelength +
        ", backlength=" + backlength +
        ", productdate=" + productdate +
        ", voltagelevel=" + voltagelevel +
        ", startpole=" + startpole +
        ", endpole=" + endpole +
        ", towerbasenum=" + towerbasenum +
        ", maintenancecompany=" + maintenancecompany +
        ", runningId=" + runningId +
        ", common=" + common +
        ", isstart=" + isstart +
        ", creationtime=" + creationtime +
        ", createdby=" + createdby +
        ", lastupdatetime=" + lastupdatetime +
        "}";
    }
}
